<!--
 * @Author: your name
 * @Date: 2020-12-22 11:32:57
 * @LastEditTime: 2020-12-22 15:45:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jijian改\components\HeadNav\index.vue
-->
<template>
  <component :is="component" />
</template>

<script>
import AboutWePc from './AboutWePc'
import AboutWeMob from './AboutWeMob'
export default {
  name: 'AboutWe',
  computed: {
    isMobile() {
      return this.$store.getters['layout/device'] !== 'desktop'
    },
    component() {
      return this.isMobile ? AboutWeMob : AboutWePc
    },
  },
}
</script>
